package com.gobang.domain.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 认输响应视图对象
 * 用于返回认输处理结果给客户端
 * 
 * @author System
 * @since 1.0.0
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SurrenderResponseVO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 操作是否成功
     */
    private Boolean success;

    /**
     * 获胜者ID
     */
    private Long winnerId;

    /**
     * 获胜者用户名
     */
    private String winnerUsername;

    /**
     * 游戏状态
     */
    private String gameStatus;

    /**
     * 错误消息
     */
    private String errorMessage;
} 